package org.yscz.common;

import java.io.Serializable;

/**
 * 算法通信消息常量
 *
 * @author achen
 * @create 2021-08-23 15:16
 */
public class Constants implements Serializable {

    /**
     * 人脸识别订阅信息
     */
    public static final String FACE_RECOGNITION_RESULT_TOPIC = "face_recognition_result";

    /**
     * 人脸识别发送信息
     */
    public static final String FACE_RECOGNITION_CONTROL = "face_recognition_control";

    /**
     * 人脸识别订阅信息
     */
    public static final String IMAGE_QUALITY_RESULT_TOPIC = "image_quality_result";

    /**
     * 人脸识别发送信息
     */
    public static final String IMAGE_QUALITY_CONTROL = "image_quality_control";

    /**
     * 图片质量评估通知算法照片入人脸库
     */
    public static final String IMAGE_QUALITY_CONTROL_AGAIN = "image_quality_control_again";

    /**
     * 通知算法更新人脸库照片
     */
    public static final String UPDATE_FACE_IMAGE_CONTROL = "update_face_image_control";

    /**
     * 订阅算法人脸识别uid
     */
    public static final String UUID = "uid";

    /**
     * 订阅算法人脸识别成功与否字符串
     */
    public static final String IS_SUCCESS_MESSAGE = "student_id";

    /**
     * 订阅算法人脸识别成功与否字符串
     */
    public static final String FACE_STATE = "face_state";

    /**
     * 订阅算法人脸识别时间戳
     */
    public static final String TIME_STAMP = "timestamp";

    /**
     * 订阅拍照质量评估image_url
     */
    public static final String IMAGE_URL = "image_url";

    /**
     * 订阅拍照质量评估image_url
     */
    public static final String HAVE_FACE = "have_face";

    /**
     * 订阅拍照质量评估image_url
     */
    public static final String QUALITY = "quality";

    /**
     * 订阅拍照质量评估image_url
     */
    public static final String LIBRARY_HAVE = "library_have";

    /**
     * 订阅拍照质量评估裁剪之后的图片路径
     */
    public static final String FACE_IMAGE_URL = "face_img_url";

    /**
     * 账号禁用
     */
    public static final Integer ACCOUNT_DISABLED_STATUS = 1;

    /**
     * 总分类型算法
     */
    public static final Integer TOTAL_SCORE_TYPE = 1;

    /**
     * 因子分类型算法
     */
    public static final Integer FACTOR_SCORE_TYPE = 2;

    /**
     * 正反分类型算法
     */
    public static final Integer POSITIVE_AND_NEGATIVE_SCORE_TYPE = 3;

    /**
     * 阴阳分类型算法
     */
    public static final Integer SUN_AND_SHADE_SCORE_TYPE = 4;

    /**
     * 量表因子表因子名-总分
     */
    public static final String SCALE_ALG_TOTAL = "总分";

    /**
     * 量表因子表因子名-因子分
     */
    public static final String SCALE_ALG_FACTOR = "因子分";

    /**
     * 量表因子表因子名-正反
     */
    public static final String SCALE_ALG_POS_AND_NEG = "正反";

    /**
     * 量表因子表因子名-阴阳
     */
    public static final String SCALE_ALG_SUN_AND_SHADE = "阴阳";

}
